RadioButton Class

Defines a control which acts like a check box except that when multiple radio buttons belong to the same group they are mutually exclusive.

Definition

Namespace: Independentsoft.Office.Odf.Forms
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class RadioButton : Control
Inheritance
Object    Control    RadioButton

Constructors

RadioButton Initializes a new instance of the RadioButton class.

Properties

ControlImplementation Contains an identifier for a control element.
DataField Specifies the name of a column in the result set defined by a (data-aware) form. A control interchanges content with its column when: -the current row of a form changes, the control is initialized with the value from its column. -the user changes the content of a control, this changed value is written back to its column.
EnableTabbingNavigation Specifies whether a control is included in the tabbing navigation order.
EventListeners
(Inherited from Control)
ID Contains an identifier for a control element.
ImageAlignment Specifies which border (start, end) or axis (center) of an image and a text are to be aligned. The defined values are: -center: image and text are centered. -end: image and text are aligned on the end of the image. -start: image and text are aligned on the start of the image. If a form:image-align attribute is not present, it is assumed to be center. The default value for this attribute is center.
ImagePosition Specifies the location of an image relative to the text of a control. The defined values are: -bottom: image is placed below the text. -center: image centered relative to the text. -end: image is placed after the text. -start: image is placed before the text. -top: image is placed above the text. The default value for this attribute is center.
IsCurrentSelected Specifies the state of a radio button or option element.
IsDisabled Specifies whether a control can accept user input.Controls that are disabled are not included in the tabbing navigation sequence and cannot be focused.
IsPrintable Specifies whether a control is printed when a user prints a document in which the control is contained.
IsSelected Specifies the default state of a radio button or option. A control initializes to the default state specified by this attribute.
Label Specifies the text for a control.
Name Contains name of a form or control element.
Properties
(Inherited from Control)
TabIndex Contains tabbing navigation order of controls within a form.
Title Contains additional information about a control. The value of the attribute can be used as a tool tip.
Value Specifies the default value of an input control.
VisualEffect Specifies the visual effect to apply to a control. The defined values are: -3d: 3D visual effect. -flat: flat visual effect.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetContentElements Returns all content elements.
(Overrides ControlGetContentElements)
GetHashCode
(Inherited from Object)
GetParent
(Inherited from Control)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current RadioButton object to its equivalent string representation.
(Overrides ObjectToString)

See Also